Make sure to attach params only if they exist

Trying to get access token ( getOAuthAccessToken ) with out any params it will extend callback url with "?" making 0365 to respond with a 400. 

This will only extend the url only if there are params pending to be extend in the callback url.