Detect recursive authentication calls.