Wait until login page opens

Fixes: expected
"https://commons.wikimedia.org/wiki/Special:LoginHandshake?useformat=mob
ile" to match "Special:UserLogin"

Change-Id: I396fd5201f8c77843f61ba5b0da5cf325d5d107f