By using "useCentralAuthenticationService" build property (see placeholder with comments in datadict.properties) it is now possible to configure which authentication mechanism should be used: CAS or "legacy". Made the latter's use more user friendly, without popups.