Issue #1818648 by mradcliffe: register another user with invalid username passes validation, causing bad registration entity