HPCC-10531 Regression suite fails when authentication enabled

Fix authentication error.
Add network related connection (no connection to LDAP, wrong username, etc)
error handling and debug logs.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>