LPS-44623 Extract logic to a method
LPS-44623 Sign out simultaneous logins if enabled
LPS-44623 SF