Double encode cookies so that ning parser can parse them