api connector automatically authenticates to server