Minor fix to ensure that HTTP redirects are followed.