Fixed logging in for Selenium tests

Paired with Kartik Mistry.

Change-Id: Id1251366051d78f4423561eca69ebceade9d5e2b