change config to internal authentication