File sharing: check not only repository options, but META_SOURCES as well to detect if we need to store credentials. Should fix #265
Do not escape password if replaced in UNC_PATH (necessary for MacOS)
Fix metasource edition buttons broken