ldapadmin - repair testsuite on userdetails controller

Following previous commit, which broke some tests. Adding a new one.