Support legacy check_password_hash

With this feature, we can migrate current hash scheme in the database to that of flask-user.