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.