Make the top log-in link open in the same window for anons

It is useful to open the user page in a new tab for logged-in users
because otherwise it can get the translation lost.
For anons it's better to open it in the same tab,
consistently with the log-in link on the info tab.

Change-Id: I13b370b3a033c4f52619d4333ae234a7cb842711
Merge "Make the top log-in link open in the same window for anons"