Be consistent when talking about cookies, key -> name
:scissors: spacing after private
Merge pull request #10060 from trevorturk/cookies-refactoring

Cookies refactoring