sha1 password encoding
Fixes template assignation in do_dev and do_status