Fix the "login required" options for pages: user.permissions is an object, not an array