[linux-pam] Add checks for crypt() returning NULL.