If there's a redirect, get curl to follow. Works better on 14.04.