Enable oauth2 support for analytics calls