Only assign win_password if it actually is set

closes #14808

Thanks
Daniel