Revert "Remove PAM dependency code."

This reverts commit f114b7e6de372d968b439081a48b6954022b11a3.

The imap-uw (cclient) brew package on OS X still depends on PAM.

Reviewed By: @sgolemon