Fixed various federate login and data model bugs.