changed cookie parsing to handle '=' characters in cookie value