Protected page redirects fix