Enable Custom Password Checking

Configuration can now specify a function to validate the password during authentication
Merge pull request #16 from skeggse/patch-2

Enable Custom Password Checking