Follow-up question: Wouldn't another use case be if passwords from a database were leaked, but they were hashed, you can still login as a user if you found a collision? But I think salting would prevent you from doing that, as the collision you found would be of the salted password, which will be salted again before being hashed and compared, correct?