fix(security): Fix regression with redirect_act in GENERIC_MOD (closes #4925)