Storing Plaintext Passwords: Why It Happens and How to Fix It