See https://github.com/ircmaxell/password_compat
