First, download the printer driver from https://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hll2300d_us_eu_as. Even though the webpage is for the HL-L2300D, the printer driver contains multiple model drivers.
Second, after installation, add your HL-L2400D but choose "Brother HL-L2395DW series CUPS" as the driver.
Now you can print anything, single-sided or double-sided, without a problem. I tried the HL-L2300D driver and had a problem with double-sided printing.