Change dependency on SSO. Use login dialog instead of redirect to login.jsp