I wonder if it would be possible to use Bluetooth pairing to do this sort of thing automatically? You’d have to enter the normal password, and Google would need to sense the presence of your phone.
I’m not that well versed in Bluetooth communication, though, so I don’t know if that is feasible.