
The default database was not exposed in the warning that was logged when authentication failed. The authentication uses the username, host and the default database to find the user entry and the lack of the default database made it hard to know for sure which user entry a client should've matched against.