Set username/machine on connection properties