Account for WebDriver protocol change when creating a new session.

Starting in Selenium 2.34.0, WebDriver no longer uses post/redirect/get when creating a new session. This change provides backwards compatibility with older versions of Selenium.