Added a debug function to dump out the address cache in GDB.
TRQ-2895 any user passing the ruserok call was being allowed.
TRQ-2896 Added a check to see if we have a job in an exiting state.