'Get the password to use for authentication.
@return: A L{Deferred} which fires with the password, or L{None} if the
password was not specified.'

def getPassword(self):

    if (self.password is None):
        return
    return succeed(self.password)
