Make curl follow redirect