Handle cookies that contain strings

We have a broken "NING/1.0" bot crawling our customer's site that sends a quoted string here that deserializes to a unicode object.
Merge pull request #1229 from patrys/patch-1

Handle cookies that contain strings