Several fixes after migration tests between HA envs

Added ssh_host, fixed several import errors.