Ldap failover

Failover when can't connect to one of LDAP servers.

@simplybusiness/developers please review.