'Override this function and instead of prompting just give the
username/password that were provided when the class was instantiated.'

def prompt_user_passwd(self, host, realm):

    if (self.numTries == 0):
        self.numTries = 1
        return (self.username, self.password)
    else:
        return ('', '')
