Support anonymous user in cache key.