MDL-71741 portfolio: Reset header information between requests