Login flow using Selenium Webdriver with Python