Fixed api URL defaulting.