CMS-3569 Initialize database on startup.