Password must:
not be the same as previous password.
be at least 10 characters long.
contain at least one upper case letter.
contain at least one lower case letter.
contain at least one number.
contain at least one special symbol.
not contain four of the same consecutive characters.
not contain a space at the beginning or the end.
match confirm password field.
All fields are mandatory.