Login now redirects to intended page.