Combine the beans, ham, brown sugar, onion powder, parsley, garlic salt, black pepper, and cayenne pepper in a slow cooker. Pour enough water into the slow cooker to cover the mixture by about 2 inches. Set slow cooker to Low; simmer 12 hours, stirring occasionally.