This is only a problem in the sense that once one hash has been cracked the so is the other, however most authentication is done using some user/email attribute also.
Usually we fetch user/email, hash password, compare to hash in database - authenticate if match or deny if not.
Usually we fetch user/email, hash password, compare to hash in database - authenticate if match or deny if not.