https://www.pivotaltracker.com/story/show/57817784
Move all /autologin and /passcode functionality to be stored in the database.