Dual authentication with OAuth and LDAP