HPCC-12427 GetESPServiceBaseURL(type) matches on name

It should match on Service type.

Fixes HPCC-12427

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>