Fix bug discovered with "encryped passwords = no".