The hard outer beak doesn't need to be airtight and honestly I can't, offhand, think of a reasonable explanation, or mechanism for it being so. What I would suggest is that the beak either has a mechanical lock to keep it closed, similar to what we see in a number of dog species (particularly bull species) jaws that can't reopen under tension, and a softer lining that swells up behind the, locked, hard sections to seal in their air supply. Alternatively have the beak be entirely uninvolved in the sealing process and have a membrane of the same skin material they use for their outer, spaceworthy, carapace that seals their mouth/throat when needed. I can see either of these mechanisms being an outgrowth of moisture retention adaptations that took them out of the sea and onto land (I'm assuming they have a planet-bound origin even if they don't remember it anymore) but a full vacuum seal screams deliberate tampering; either in the form of a long-term selective breeding program and/or out-and-out genetic engineering.
I would point out that there is going to be quite a limit on their space endurance, especially with factoring in physical exertion, unless they have other adaptations, biological or technological, that allow them to carry an unusually large amount of life support with them during their EVA activities. The rule of threes says humans are able to survive 3 minutes without air, three hours without shelter, three days without water and three weeks without food. That is a mix of best and worst case scenarios that is species specific but it makes the point; a creature carrying all it's air internally is going to have sharp limits on how long it can carry on at normal levels of activity.