Fix Phedex service calls.

Fix https://its.cern.ch/jira/browse/CAF-185