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

This is the standard that Steve set up. I wouldn't want to switch it around until we talk to him.