Rework cryptography.

Now using a simple password hash. Settings are
saved for user, so tests and manual execution have
different settings.