Understand the router, and assemble more sane redirects, avoiding redirect loops on user unauthorized