In a large skillet add onions and 1 tablespoon of olive oil. Saute over medium heat until soft and translucent. Drain butter beans and add to the onions, stirring to incorporate.
Put the garlic, rosemary, thyme, green chile and 3/4 cup olive oil into a small saucepan. Place on low heat, cover and cook for 10-15 minutes, until the garlic has softened and is beginning to colour. Leaving the lid on, remove from the heat and set aside for 10 minutes to let cool. Strain through a sieve set over a bowl and reserve the oil. Pick out the garlic, herbs and chile and set aside.
Put the cooked garlic into a food processor along with 1/2 cup of cooked beans, the mustard, anchovies, 2 tablespoons of lemon juice, 5 tablespoons of garlic oil, 1 tablespoon of water and salt and pepper to taste. Blitz to a mayonnaise consistency and set aside.
Combine 1 cup of the cooked beans in a small bowl with 4 teaspoons of lemon juice, 3 tablespoons of garlic oil, chopped dill and salt and pepper to taste. Set aside.
Put the remaining cooked beans and onion into a food processor along with remaining lemon juice, 3 tablespoons of garlic oil and salt and pepper to taste. Blitz to a thick, smooth mash, about 1 minute, then transfer to a shallow bowl and spread to create a well in the centre. Fill with dressed beans. Finish with hot pepper flakes, reserved chile, rosemary and thyme.