Configuring Client for OAuth2