Adding authentication to create the cache.