Return proper error on authentication failure

An error indicating username/password problem is sent to the client on connect