CORE-4591: changed the way that the logout URL is constructed