Add tests for pam auth