fix behavior when a username isn't unicode
Merge pull request #9 from dimagi/bad-unicode

fix behavior when a username isn't unicode