Swap live/test api settings