Made curl follow redirects.