Adds support for different authentication schemes.
Added two more optional delegate methods to configure the access token request and parse the response body.
Adds Accept = "application/json" to header as response is parsed that way.
Removed assert to have a re-login rather than crash