Click on the Menu icon on Bluestacks 4 and there you will find an option for logging out from the app you want to log out.