Fix infinite redirect loop.