Support Unicode for user-ids in Cookies

The payload is unicode anyway.
str(...) will break if the user-id is unicode.
Add test case for unicode user_id in cookies

This test cases fail with 0.3.0 of flask-login.
Handling unicode user_id's worked except for storing in cookies in the past.