Redirect NotAuthorized and NotLogged Exception to login URL.