Fix pam scripts.

The motivation of this is to prevent logins if jailing fails, and to otherwise
prevent error spam into the logs.

Do not merge
---