An adapter for use with OpenID Connect that supports both access tokens in a browser cookie or bearer tokens