Workaround to handle encoding issues in flask.ext.login
Enable remember option in login_user