Config MongoDB as default adapter.