send a connection error exception when a bad username or password is generated