Add support for allowing anonymous ViewStatus permission

This PR adds support for allowing anonymous ViewStatus permissions.

This is especially useful to work with plugins that require these permissions, for example for the [Embeddable Build Status Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Embeddable+Build+Status+Plugin) that requires this permission if you want badges to be reachable for anonymous users.

Fixes [JENKINS-24010](https://issues.jenkins-ci.org/browse/JENKINS-24010).