[Bug 47951151] fix 'no validation if password is blank' bug

no validation on both new password and password confirmation are
blank in resetting password page