CLOUD-169 updated rest client