Update RegistryAuthorizationManager.java

check the existence of the 'value' of the mount path mapping
before replacing the 'key' part
in the original resource path