simplified and did some debugging

Salting of passwords before hash removed. Need openssl-dev package to
compile.

Some of the checks are not yet working properly, and password checks are
still entirely broken.