Adjust the maxpassword regression test after the warning message change.