make encoding of login-/logoutlink html5-valid (refs #980)