WIP: Combined Login/Registration: Set up basic enrollment infrastructure.

The JS will be getting minified and concatenated anyway so extra space isn't an issue.