Use MaxMind PPA for geoipupdate and configure account credentials