changed crypt helpers. added default password support