Fixed a bug with OAuth2.

The OAuth2 redirect URI did not contain the necessary parameters.