cas logout properly implemented, caslogin no longer gives warning on load
Added fallback strategy for language resolution in mls functions