OAuth AuthManager

Some extra features had to be implemented to support authentication via authorized OAuth access:

See the image below to illustrate the process:

OAuth flow