username is trimmed in the register view.