Add basic-crypted auth mode

First implementation was simply stupid. The new basic-crypted auth type
works like the normal basic mode but requires SHA1-encrypted passwords
in the user file.