Slight refactoring for more easily fetching public documents without auth.
Fix ini file so it works out of the box.