Added possibility to migrate from old-style password hashes to bCrypt.