prepare_call function

Prepare a OAuth 2.0 authorization call and build an authorization URL