It's annoying that in order to change class it costs you a death. I understand why it is the case, to allow players to respawn on demand without consequence would mean that you could escape enemy soldiers without a death by simply hiding and redeploying. That said there are times you make a mistake in your loadout or you spawn without realising you're no longer in a squad. In such situations it seems silly for respawning to cost you a death.
As a solution to this I'd like to propose that as well as resupplying your ammo, health and armour, the ammo crate in spawn also allows players to change their class without a death.
I feel the fact that you'd have to make it to the resupply crate in the safe zone would remove most potential to abuse the system