Redirect a good login on referer page.