Fixed EZP-21343: ContentStructureMenu cookie causes http request problems and breaks RFC 2965

Fixes: https://jira.ez.no/browse/EZP-21343

Tested under Chromium 28.0.1500.95 and Firefox 17.0.7.