You'll have no problem getting to the AF lounge, as that's in Terminal E and Terminal E is connected to Terminal C airside. You should have no problem getting into Terminal B either, as a same-day boarding pass should allow you anywhere past security at BOS.