fix 'On restricted page doesn't redirect if staff' test again