Fix test-bad-connection-string on Windows

The Windows ODBC Driver Manager returns SQLSTATE 01S00 whereas unixODBC
returns SQLSTATE IM002.