Adjusted the PasswordElementClass to look for a passwordElement template vs textElement template.