little hack to fix login-link-problem