Log fix.
Detecting existence of auth file before opening the input stream. (Error avoidance.)
print those stack traces.