'Set self.loginDeferred to the same as the deferred returned, allowing a
testcase to .callback or .errback.
@return: A deferred.'

def _startLogOn(self, *args):

    self.loginDeferred = defer.Deferred()
    return self.loginDeferred
