Fix user agent in api stuff.