Preheat oven to 350. Prepare a 2-quart casserole dish with cooking spray; set aside. In a large saucepan, cook chicken until no longer pink. Add onions, beans, brown sugar, salt, ketchup, vinegar, and mustard. Mix well. Pour mixture into prepared dish. Sprinkle cheese over top. Bake for 30 minutes or until cheese has melted.