Add session middleware to an external auth test to fix a test failure with the auto-registration AB-test changes