This commit deprecates CookieGenerator in favor of the more modern alternative, ResponseCookie. See gh-28870