Make default EJB permissions configurable

Replaces https://github.com/wildfly/wildfly/pull/4757