r7238: Add pam auth support in swat