[#1721] log the user in programmatically after registration
[#1721] pep8
[#1721] leave username as unicode string

Fix so old user tests pass, not that we allow unicode usernames anyway
Merge pull request #1721 from joetsoi/1721-login-after-userreg

Programatically log user in after registration