Fix db host issue and quote salt strings