pre-authenticated download bug fix