Hi @semani and Welcome to our Community! Let's see more of your issue.
Just to make sure I understand this right, you want to be able to store an old password when using a site, as long as the new one, is this right?
Let me know and we'll take it from there.