catch RedirectLoops, better logging