Fix curl to accept redirects

https://developer.github.com/changes/2014-04-25-user-content-security/