Fix curl option to pass redirection