When you sign out of the app tap your profile picture. Tap Switch account. Then tap Use YouTube signed out.
How do I sign out of YouTube app on iPhone?
After you log in, find your profile on the top-right. Tap on it. Then tap on switch account. Then tap use youtube signed out.