Assert when agent and rejectUnauthorized used together