change target server to localhost in integration tests