[chore]add validation for settings change password
Merge pull request #277 from peterzd/validate_change_pwd

[chore]add validation for settings change password