Add compatibility for phpass