Try to eliminate spurious credentials dialogs due to canceled tasks and login page responses.