[Design] CookieName Change

@davidfowl , @GrabYourPitchforks .. this is out for your feedback to see if the approach looks right.
Token encode should not be needed in case its application name.