Report authentication failures by sending connection.close
Genericise network messages
Return verbose message when refusing  to authenticate
Merge bug 24094