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