Fixed a problem where trqauthd would cause segfault on exiting
and also would not load if pbs_server were not running.

Updated unit tests.

TRQ-1247
Merge branch 'master' of https://github.com/adaptivecomputing/torque