Fix password length check.
Fix password length check.

This was a problem introduced in bde7eff1503d7e897a97839d08a17ee273526acd when a check on the length of a null-terminated byte array was refactored into a check against the password itself.

Signed-off-by: Bradley Grainger <dae7ff431bf350b84a58dc5360c13b9e7c97b48a@gmail.com>

mysql-net/MySqlConnector,mysql-net/MySqlConnector