Only add auth headers if withCredentials is set to true
Only add auth headers if withCredentials is set to true

endeavourhealth/EDS,endeavourhealth/EDS,endeavourhealth/EDS,endeavourhealth/EDS,endeavourhealth/EDS