Restructuring realm design to allow for password style authentication as
well (needed for both testing and for API support)
Progress on bootstrap machinery for testing the security system.