@freemo It's even worse. That was the "traditional" pass code, and it was used on Jim Kirk's Enterprise, and possibly every Constitution, Constitution II and Galaxy class starship.
Apparently the computer relies on some flawless identity recognition to identify the officers. Which is fine, because we only see identity theft (shape shifting aliens, holograms, magical beings, mind control, doubles from other universes, etc.) 10 times each season.