Make the baked beans: Heat the oil. Cook the onions and garlic until starting to soften. Add in the hot paprika and cook for 1 minute, stirring often. Add the beans, tomatoes, sugar, vinegar, salt and pepper and cook for 5 to 10 minutes until reduced.
Make the tofu: Heat the oil in a wok or frying pan. Crumble the tofu in a bowl with a fork. Add the spring onions to the hot pan and cook over high heat until starting to color. Turn the heat down, add the chili and garlic. Cook for 1 minute. Add the chopped tomatoes, crumbled tofu, turmeric, salt and pepper. Stir and cook until heated through and well mixed.
Serve the tofu scramble on grilled sourdough, drizzled with chili oil with the baked beans on the side.