Adding authentication cache.