In a pot, melt the butter over low heat. Whisk in the brown sugar, cayenne, garlic powder, onion powder, paprika and vinegar and season with salt and pepper. Cook over moderate heat, whisking occasionally, until the spices are fragrant and the sugar has dissolved, 3 to 5 minutes. Remove from the heat, let cool completely. Whisk in the mayo until smooth.