Fixed a bug with passwords hashes and old PHP versions.