fixes #2127: added support for password hashes other than MD5

There is a chcicken`n`egg problem over here. Rails migration rake tasks tries to boot the environment and since there is no table yet, it fails. I wonder how the other settings work.