Fix for final status code of redirect chain not failing (bug 830044)