If forced to log in to access the site, set redirect so we go back to the page