Fix for postgres grants when on localhost