allow for a session to be created directly from an oauth2 token

This allows for the oauth2 token to already be created and to be passed as the authorization header