Validate the username at login against a regexp