Fix for 2400
Addresses comments from last commit for 2400
Modifies authfail check and uses correct Request attribute