Fix bug 795011; restrictions not loaded on redirects