Do not hardcode port 8081

Respect port configuration in the puppetdb.conf file (if it exists).