Include AllPages() form method to $allowed_actions

Using the previous snippet resulted in a 404. Including the AllPages() method in the $allowed_actions array avoids this.