this implementatian is much more verbose but faster, especilally if you are dealing a lot with JIDs on my box, ./testall.py now takes 45s. It takes 53s in the old implementation (about 15% faster)
failed_auth