fixes #4058 loginForm macro is not showing the logout link