config: fix the default directory variable

Used the wrong test flag.
soup: bail if builtin authentication is being used
soup: only get the next item if the previous was valid

Prevents using bogus data for username and passwords.