fixes withCredentials on fetch version request

closes #173