I still don't understand why the css_selector option is not working. As I agree with Jeremy Carney that a long XPATH is not an option I find this way:
driver.find_element(By.XPATH, '//[@name="username"]').send_keys("username") driver.find_element(By.XPATH, '//[@name="password"]').send_keys("password")