fix SQL authentication