Modifies authfail check and uses correct Request attribute