fixed password rehash problem