Fail the getModel() deferred if the connection or authentication fails.