Denote $r_2^C$ and $r_1^C$ to be the continuously compounded interest rate equivalent of $r_2$ and $r_1$, resp.
* * *
Discount $F(0,T)$ from time $T$ to time $t$:
$$F(0,T)e^{-r_2^C(T-t)} \tag{*}$$
Discount $F(0,T)e^{r_2^C(T-t)}$ from time $t$ to time $0$:
$$F(0,T)e^{-r_2^C(T-t)}e^{-r_1^C(t-0)}$$
The above term is supposed to be equal to $S_0$.
Thus we have:
$$F(0,T) = S_0e^{r_2^C(T-t)}e^{r_1^C(t-0)}$$
* * *
I think $(*) = S_t$ and $S_T = F(0,T)$