Change default DBAL connection to middleware.