Don't worry. Getting the bad endings are actually very useful in this game, because they will help you in figuring out the passwords for the good ending (i.e noone has to die).