Bug 1073852 fixing traceback with authentication failed message