fix ability to generate username password digest/no digest and still use certs