Fix permissions for UnboundID LDAP SDK (#68872)
We inadvertently removed permissions needed by the UnboundID LDAP SDK
during a refactoring. This commit returns them to their rightful place.
These permissions are needed in core because we force the class
initializers for two classes from the UnboundID LDAP SDK to load while
loading the x-pack-core plugin. We have to do this there because
x-pack-core depends on the UnboundID LDAP SDK as some realm classes live
in x-pack-core.
Without these permissions, Elasticsearch will fail to start if an AD or
LDAP realm is configured.