pass credential to WMSClient