auth.pam: avoid relying upon NameError
Merge pull request #5656 from cvrebert/patch-1

auth.pam: avoid relying upon NameError