Authentication Scenarios

Handling authentication by either basic auth, token auth or application auth. The just boils down to:

* Basic (username and password)
* Token (Bearer token supplied by the api)
* Application (Client ID and Client Secret supplied by the api)