Add Windows support for host-/username

Change-Id: I971ffc811bddea8c8663d3d1ce95678eddfd5860