Modified HTTP client to allow OAuth2.0 Authentication.