Merge "Improve error message if check not defined for a password policy."