[PATCH v3 3/8] common: integrate crypt-based passwords