Add oauth2 authentication.