Adds password digests and tests.