Authorize and redirect to requested page.