* Removed unused login code.

* Added an account activate setting.
* Added activation check to allow/disallow per account logins.