XNAT-3021 Fixed the way URIs are generated by UserCacheResource.