Helo,
my xpath does validate in firePath but when I try to send _key I get an error.
userID = driver.find_elements_by_xpath(\".//*[@id=\'UserName\']\
I had the same problem - so I just did:
userID[0].send_keys('username')
Worked for me