The initial value of the username field needs to be a string-like object, convert it to unicode first.