Let API URLs be overridden by env.