Fix: Empty Sessions / Logged-in in other accounts Ref #5214

code by @enesbil