Same as FE-3787 for LDAP
FE-3791 Change authentication providers to return CommunicationException when appropriate