Allow configuration of username validation

This change introduces 2 new variables to the configuration
USERNAME_VALIDATION_RE and USERNAME_VALIDATION_ERROR_MSG.  The can be
used to configure the validation regular expression and to configure the
message that will be displayed.

Change-Id: Iae39aed0ac18b53e7ba015c99bd86dd017e7dd04