Modify the sign_in function to first check to see if a TCP connection can be established to the master. If not, fail immediatley instead of waiting for the default timeout of 60 seconds. Refs #7001.
Merge pull request #8957 from cachedout/#7001

Fast-fail for down master when authenticating