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

The api is not checking access correctly. It should be easy enough to add, though. I guess we should turn this on, huh?