Tech Debt: Refactored password confirmation component