added function to authn user to AD, fixed reference to variable that doesn't exist.
added function to authn user to AD, fixed reference to variable that doesn't exist.

dfwarden/ActiveDirectory-Python,edcas/ActiveDirectory-Python