[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
Merge pull request #97 from Chunjie/master

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