Change in client service allowing callers to pass complete url instead

of path ( this was required since urls used in authentication could
differ from api urls )