proper self-service login supporting plaintext, crypt and MD5 passwords