Fix UTF8 encode in Flask 0.10

Google OAuth does not provide the nickname or something similar, so when saving a new user, the new Flask 0.10 + Flask.Login fails due to some names may have a UTF8 char. This pull request fixes this issue.