added ability to set alwaysUseDefaultTargetUrl for login and logout