To prevent issues like #779, we'd need a basic LDAP integration test to test the authentication. Something like #726