don't set user-agent unless not setting it fails

sites like mashable and nytimes were redirecting with login info when
the user-agent was set to act like a browser.  Some sites require
setting it, most don't, so first try not setting, then try setting it