Use more semantic method to check password
Merge pull request #18256 from rohit/secure-password-tweak

Use more semantic method to authenticate password in SecurePassword