Fix import error for windows regarding username pwd