fix cookie malformed test

Unfortunately "strict" parsing is not fully strict.