refactor run_setup to do auth and posts for virtual connections, remove group_mode and debug_only code