fixed regression that non-OpenID login links were not suppressed if $wgOpenIDOnly

Change-Id: I2ffe0f3e57c09e34b7a8b1e6640a26b61ce8a5c7