authlib.py py3 compatibility

* change import nipapconfig
* use ldap3 for py3

Note: I had to install python3-ldap3