Python3 port of Christ AtLee's Python PAM module.