Fix issue with not handling unicode characters properly in cookies.
Merge pull request #780 from geo-poland/cookies-unicode-fix

Fix issue with not handling unicode characters properly in cookies.
Merge https://github.com/frappe/frappe into polish-language-support