Working on security: Added some fields in preparation for "lost passwords", added simple throttling for failed login attempts.

Ref #341.