Allow login to redirect to next page.