https://issues.apache.org/jira/browse/AMQ-5233

Return the right code when a client connects with bad credentials.