Adapt to Dashboard 2.0

Replace express deprecated APIs
Replace old ldap user attributes