Heat the oven to 200°C (400°F). Scrub the potatoes, pat them dry, prick each one a few times with a fork, then rub with olive oil and sea salt.
Place the potatoes directly on the oven rack and bake for 60 to 75 minutes, until the skins are crisp and a knife slides easily into the centre.
While the potatoes bake, warm the baked beans in a small pan over medium heat for 4 to 5 minutes, stirring now and then, until hot and bubbling.
Cut a cross in the top of each hot potato, squeeze the ends gently to open it, and add a knob of butter and a pinch of black pepper.
Spoon the hot beans over the fluffy potato, then scatter the grated cheddar on top so it melts into the beans.
Finish with sliced spring onions and serve at once, while the skin is still crisp.