It might be nesseccary to pass additional properties to the original database driver, i.e. "user" and "password". To enforce this please add an additional argument Properties to JdbcDatabaseContainer#createConnection as follows:
public Connection createConnection(String queryString, Properties info) throws SQLException {
in addition to that, please traf user and password from this argument if given.
If done, please pass the info object given by
public synchronized Connection connect(String url, Properties info) throws SQLException {
to the createConnection call.
This should also ensure that one is able to use multiple users while testing the database. E.g. for multi tenancy via view or database approach.