the two home pages you sent are set to redirect to another home page if authentication fails.
The error is occurring because you are redirecting to a home page after authentication fails, and authentication is failing on that page as well. Most likely that page redirects to another page that has authentication applied to it and it is failing there too and on an on.
Set the authentication failed redirect to go to the login page instead of directing to a page that has authentication applied.