I call the login page, input the credential, click on the sign in button, then it try to get to a specific page on the same website but sometimes it works other times it just get stuck or never gets to the url even with large timeouts. Does it effect the flow if it is not headless?