Detect lack of libpam-dev during configure.
Remove MONGO remnants from the pre-repo-split era.
Avoid spurious failures when rerunning the test due to socket not yet being released.
Merge pull request #1076 from jimis/varfix

Varfix