Various fixes, mostly for guest users and sign in/sign out session handling