[bug 979434] Fix _check_username

The argument passed into _check_username can sometimes be None because
it's coming out of cleaned_data, but wasn't valid. Because of that,
username_allowed returns False and then everything goes to straight to
hell.

This commit fixes that.

r?