Small fix broken cookie parse
Merge pull request #1745 from nonm/master

Small fix broken cookie parse