ability to switch API domains (for testing purposes only)