ws, static: Report "Permission denied" when pam_acct_mgmt fails.

Fixes #915