ENH: updated flask ldap login and examples