Removing API credentials from log data in database