In large pot, boil potatoes, onions, garlic, habanero, bay leaf, and 2 sprigs of thyme until potatoes begin to get soft. Add the cod fillets to the pot and cook 10 minutes until they begin to fall apart.
Scoop the cod out and flake it is a bowl. Drain the rest of the contents of the pot, discard the bay leaf and the thyme sprigs and mash them in a separate bowl.
Stir the cod into the potato mixture. Add the paprika, salt, pepper, the eggs, and the leaves from the last two springs of thyme.
Shape the cod mixture into patties and dredge in flour. Brown the patties in 1/2" of oil, one side at a time.
Drain on paper towel lined plates then serve immediately.