Base: Fix connecting to device with password set