Move root/administrator locking code after domain setup
Fix error in checking for mountpoint
Preserve home directory on logout, use session tracker for pre-session

pre-session should not extract configuration if the user is already
logged in (for example, in another TTY).
Merge branch 'version-3.0' to fix final bugs in version 3.0