add an API_HOST fallback in spec_helper, fixes failing tests