Sounds like your alogin.html doesn't exist, is named wrong, something.
In this scenario it wouldn't be as the login.html you're using doesn't perpetuate that variable. If it doesn't exist then redirect.html either redirects to the originally requested URL, or the status page if that isn't available. If alogin.html exists it will be displayed, in my above example that alogin.html redirects to Google. So the login.html submits to /login and the login is successfully processed. If user has successfully logged in (or is already logged in), alogin.html is displayed if alogin.html is not found, redirect.html is used to redirect to the originally requested page or the status page (in case, original destination page was not given)