Authentication is now done for real, with everything prepared for supporting multiple users.