Only issue a password change request from JS if the password
fields have been filled out.