Fix client side validation for user name input form field.
Fix password confirmation when updating user credentials.