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
Merge pull request #4824 from edx/will/auto-register

Auto enroll students even if there are multiple course modes