Change implementation of setting api_host to one that allows options to be merged without defaults and then sets the host later in the event that it has not yet been defined by either an cli option or by the yaml file