don't try to check if db has no passwd when passwd is given