fix auth and client ref
s/host/hostname