When a Cookie contains a padded (with '=' characters) Base64 encoded value the Cookie returns the value minus the '=' characters.
*** This bug has been marked as a duplicate of bug 44679 ***
NOT a DUPLICATE of bug 44679
= is not a valid character in v0 cookies, both the HTTP and the servlet spec say so.