Don't call the PHP functions directly, but use the internal wrapper methods for password rehash check and set in Login class