LDEV-4440 Get transactional LDAP data before non-transactional one
Configuration class exposes static methods which are not transactional.
Using them close Hibernate session. Subsequent queries fail even in
transactional context. The optimal solution would be to expose most
Configuration methods as non-static transactional. For now we just make
sure that Session closing happens only everything else is fetched.