adding password rehashing support