Fix wget command generation: 'Cookie' headername was missing.