Emulate AD-based machine authentication