This is partially really almost answered within the question:
The lay judges were supporters of Hitler…
But the whole affair is at the same time really strange and blatantly obvious, in retrospect.
Despite being the most high profile defendant, Ludendorff was still so immensely popular that his role was almost edited out completely before the process really began. And with high profile I mean not only the best known of the defendants but also a really central figure in planning the putsch and garnering support for it. So much so that the whole action is nowadays called the Hitler-Ludendorff-Putsch. The main judge fiddled with the evidence and replaced a protocol in which Ludendorff would have been incriminated quite severely with another one in which he knew just nothing of the plans for the coup. That emphasises that the main judge was highly sympathetic with national socialist ideas and persons.
The name of the judge was Georg Neithardt, a national socialist with high sympathy for the whole group of defendants, sharing a lot of their goals. Not a good sign for impartial judgement, but quite significant indicator for the attitude in Germany as a whole and Bavaria especially.
So the People's Court was chaired by Georg Neithardt (1871-1941), Regional Court Director, who had already chaired the trial of the murderer of Kurt Eisner (USPD, 1867-1919), Anton Graf von Arco (1897-1945). The other four judges were August Leyendecker (1865-1937), Regional Court Council, and Leonhard Beck (born 1867, store owner), Christian Zimmermann and Philipp Hermann (1865-1930, insurance salesman), lay judges. Ludwig Stenglein (1869-1936) and Hans Ehard (BVP, 1887-1980) represented the public prosecutor.
The verdict was quite scandalous as even Ludendorff proclaimed after getting away scot free:
I feel this acquittal as a disgrace for the uniform and the badges of honour I wear towards my comrades.
The points officially brought up in favour of Hitler included that he served in the war, and not for Austria but in the German army, got an iron cross and just generally a good guy with nothing but the noblest of intentions. His motivation was judged to be of:
„rein vaterländischen Geist und edelsten Willen“ ("purely patriotic spirit and noblest will")
The way Hitler and the others were allowed to present themselves during the trial was incredibly eye-opening. Most of the time the public was not allowed to participate and the files documenting what went on were classified even long after the next war by the Federal Republic of Germany. The city of Munich came around only in 1994 to honour the dead with a plaque. But when the public was allowed, Hitler was really given another stage to agitate against the Weimar Republic.
The verdict then came in with 4 in favour, one against it. The jury was highly biased. The main judge knew Hitler from an earlier court case in 1922. In that he should have convicted him to 2 months, but just ruled that it was probably not necessary to be so harsh. During the case, Neithardt emphasised that the case had to be conducted within and along the lines of the national interest. He was also responsible for hindering the obligatory transfer of Hitler to a trial before the Staatsgerichtshof, a federal court earlier. Arguing that that might be a bad idea, as there he might face the odd social democrat as a judge instead of rightwing radicals like in Munich. This was not Neithardt's sole responsibility. The Bavarian government against which Hitler putsched, aided him, and the federal government was complicit as well:
The Bavarian state government had apparently only learned from the daily press that the attorney in chief of the state court had been instructed by the imperial government to move the high treason trial against the putschists to Leipzig in order to protect the public. To prevent this, Justice Minister Gürtner immediately asked his cabinet colleagues for negotiations. On November 15, the first discussion of the topic took place in the Reich Ministry of Justice. […]
In Bavaria, the justice department came into the hands of the German nationalistic minister Roth after the Kapp putsch, and it was developed by him and above all by his successor Gürtner into a political instrument with which the Weimar system was to be overcome while keeping the appearance of constitutional conformity. According to Gürtner's own statements, it was also in his interest to make the Battle Federation (Kampfbund) serve this purpose, and he was consequently not allowed to make a front against him even then, when he carried out the coup d'état with brute force and in the justified hope of support from the Bavarian government and its means of power. The preparations and the trial itself proved that the national conservatives as judges of the constitutional and legal norms of the Weimar state were not guided by the law, but by their convictions, whether anti-democratic or democratic.
Bernd Steger: "Der Hitlerprozess und Bayerns Verhältnis zum Reich 1923/24", Vierteljahreshefte für Zeitgeschichte, Vol 25, No4, 1977.
A national socialist stands trial for doing national socialist things before a national socialist jury in a national socialist governed state before a national socialist public. To really top it off: the justice system, the Bavarian police, the Bavarian government, the Reichs-government were all complicit in bringing forward this trial in a Bavarian People's Court that was established illegally in 1919, violating the Weimar constitution.
While this type of court was established during the German Revolution of 1918/19 by order from a socialist called Eisner , it was after the murder of said socialist by nationalist fanatics that it was quickly turned into an instrument of pure political class justice. It always favoured national socialist murderers, terrorists and conversely dealt harsh judgements against anything suspected of being socialist inspired. The Hitler trial was the last but by no means extraordinary trial. The Reichs-government accepted this situation for 5 years.
The most farcical aspect of this is that the murderer of Eisner was tried in 1920 before the People's Court that Eisner established. The assassin was initially sentenced to death. But then his sentence was reduced to just 5 years – by the same judge Neithardt – imprisonment in a fortress (Festungshaft). A sentence deemed "honourable" in the public eye. The same sentence Hitler received. During his "imprisonment" he could almost come and go as he pleased and on work days worked on a nearby farm.
In 1924 Eisner's assassin was evicted from his honour-cell. To make room for Hitler. Just as during the Hitler trial Neithardt explained that this killer was "not of a lowly spirit, but of a fervent love for one's country." And just as with Hitler the Bavarian government went happily along.
The files of that trial being classified by Germany for decades was already mentioned. But it did not stop there. Naturally, Neithardt became a big time Nazi judge after 1933. Then
At the beginning of September 1937 Neithardt was retired with a personal certificate of thanks from Adolf Hitler. He died on November 1, 1941.
In the course of the denazification, arbitration proceedings were instituted against his estate with regard to his widow's substantial pension payments. At first Neithardt was classified as a "main culprit" (Hauptschuldiger meaning quite a criminal Nazi with substantial guilt), the estate was confiscated (Spruchkammer München on 11 March 1950). This accusation has been reduced across various instances. By a court of cassation decision of the Bavarian special ministry of 10 July 1951 it was decided that Neithardt was also no longer a so-called incriminated person. The case was closed at the expense of the treasury.
Just for the sake of comparison why Bavaria and how that People's Court were so notorious: Felix Fechenbach was sentenced in 1922. Guilty of high treason. 11 Years imprisonment and an additional refusal of civil rights for 10 years. For publishing classified papers. No one killed. He was later pardoned for this infraction. The SA and SS killed him nonetheless in 1933.
That whole process shows that the person Hitler was not that popular at the time, but his nationalist ideas and national socialist motivations were already immensely popular among the masses and the whole state apparatus, where republicans were already fighting a rear guard action. The lay judges assisting Neithardt are really to be overlooked here, as they had not so much influence over the trial. The whole system was rigged from top to bottom by nationalist extremists in favour of the putschists or any national socialist cutthroat.
Otto Gritschneder & Lothar Gruchmann & Reinhard Weber: "Der Hitler-Prozess 1924." 4 Volumes, K.G. Saur Verlag: München, 2000.
Otto Gritschneder: "Der Hitler-Prozeß und sein Richter Georg Neithardt: Eine Rechtsbeugung von 1924 mit Folgen", C.H. Beck: München, 2001.
(Some of the main points online in German.)
David King: "The Trial of Adolf Hitler: The Beer Hall Putsch and the Rise of Nazi Germany", Pan Macmillan, 2017.