LDAP Flask-Login snippet