OAK-709: Consider moving permission evaluation to the node state level

Fix oak-solr-embedded.
Revert unintended test change.