Supersymmetric completion of M-theory 4D-gauge algebra from twisted tori and fluxes