ldapadmin - improving testsuite on usertokendao

Also fixing a bug in my refactoring (use of database pool instead of
reopening a connection each time).

Global coverage is now 31% onto ldapadmin.