When opening a database instance using open_memory_database, ServiceInterface argument was not passed. This commit fixes it.