Remove DB credentials from settings

fix saving of settings