Reporting PAM read errors better (fixes #3)