Issue #327 - Better password security
Fixed upgrade issues.
Need to allow users to login with old style during upgrade.