Allow customizing DB connection for ActiveDataProvider.