Return proper error on authentication failure

An error indicating username/password problem is sent to the client on connect
Merge branch 'master' of https://github.com/jensoleg/mosca
Added a test for the auth error.