[PasswordManager] Small code cleanup.

Use iterators for QHash