Fix pam test.