intercept login using a dialog so that a click somewhere on the page
doesn't magically redirect to the OAS login page