Auto enroll students even if there are multiple course modes

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