Add tests for PAM auth