Afterglow light curves from magnetized GRB flows