Change auth methods to allow caching access token outside