Chesterton's Fence
(noun) A principle that states one should not remove or change something (like a fence, rule, or tradition) until they understand why it was put there in the first place.
Before the team decided to remove the legacy authentication system, they invoked Chesterton’s fence and spent time understanding why it was originally implemented that way.