Invalidate pool and monitor if authentication fails

JAVA-1463
Moving connection opened logging