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

Okay, fair.