fixes  #3769
add test
fix tests
clean handled exceptions in creating owner connection
javadoc update
Merge pull request #4154 from sancar/fix/clientFailedAuthBehaviour/master

Fix/client failed auth behaviour/master