Avoid the cache being cleared on session invalidation.