Fix query parameter handling. Was not passed to OAuth2 object.

Howdy @layflags,

what do you think? By now the query parameters where ignored and never forwarded to the api.