Support overriding base api URL