Remove unnecessary password-related code.