WFLY-2319: fixes usage of InitialLdapContext

WFLY-2319 was reopen due to an issue when app code uses InitialLdapContext and then invokes one of it's signature methods. Those methods fail due to our InitialContext not extending InitialLdapContext