fixes  #3769
fix tests
checkstyle fixes
clean handled exceptions in creating owner connection
javadoc update
Merge pull request #4155 from sancar/fix/clientFailedAuthBehaviour/maint3.x

fix/clientFailedAuthBehaviour/maint3.x