Null accessor is akward in php8.0 and throws warnings, so removed. Added test to check template assingment handling on page delete.
Included new helper in Test PermissionProvider to set app to public, since that's a common test scenario.