Try turning off the laptop, then connect an external keyboard. Then turn on the laptop. You should be able to get past any passwords using that keyboard.
Then uninstall the keyboard driver, reboot the computer (without reinstalling the driver) and when it restarts it should reinstall it on its own.