NEXUS-5861: RemoteStorageContext values might come from parent

So, wrapping the RemoteConnectionSettings as ReadOnly when it comes from parent RemoteStorageContext.

Issue:
https://issues.sonatype.org/browse/NEXUS-5861

CI:
https://bamboo.zion.sonatype.com/browse/NX-OSSF13