WFLY-2319: fixes usage of InitialLdapContext