Adapted code to use single OwnCloudClientManager#getClientFor(...) method