Remove debug config option
Authorise access tokens for premium consumers

- Refactor oauth helper
- Add example of hos to create users and access their data
Make oauth api more consistent

- Fixes correct logger and format not being used in the oauth calls
- Allows sharing of configuration from the root API
Document new oauth flow