token based authentication caching