Enable Custom Password Checking

Configuration can now specify a function to validate the password during authentication
Merge branch 'patch-2' of github.com:skeggse/devtools-terminal into patch-2