Fix sign in for OpenID enabled server.

The functional test Zanata server has OpenID and internal auth
enabled, which changes the login process. Basic internal
sign in still only available.
TODO: Tests for OpenID login.
Merge pull request #174 from zanata/signin-with-openid

Fix sign in for OpenID enabled server.