Re added check for challenge invite

Changed to check for "challenge invite" which fixes the test.  I use this on my system but I am not sure how this will effect people who use ip authentication.