def METHOD_NAME(self, login, password):
    add_to_seclist(password)
    try:
        self.groups, self.org_id, self.user_id = getUserGroups(login, password)
    except rhnFault:
        e = sys.exc_info()[1]
        if e.code == 2:
            # invalid login/password; set timeout to baffle
            # brute force password guessing attacks (BZ 672163)
            time.sleep(2)
        raise
    log_debug(4, "Groups: %s; org_id: %s; user_id: %s" % (
        self.groups, self.org_id, self.user_id))