Revert to const reference. Refs #9084.

- Passing by value does not work on windows when setting the endpoint inside `setICATProxySettings` in `ICat4Catalog`.
Fix download and upload on windows. Refs #9084.
Merge branch 'feature/9084_create_catalog_manager' into develop