Generalized oauth login and access token storage.