Allows authentification OAuth 2 for the API.