Regression test for PasswordStrategy