save cookie to CookieStorage