Use database configuration for creating and dropping databases

Discovered this while trying to use Napa with postgres on a non-standard port. This patch solved my issues.