Changes to URLEncode the cookie values to prevent them from being enclosed in quotes.