fix for withCredentials -- failed on some embedded STB systems
build