Yes, in this case it is true that $p$ is a proper martingale! Note that your integrand $\exp\left(-\int_0^tr_u du\right)$ is an adapted, continuous, and decreasing process bounded by 1. So, the following statement implies that $p$ is a martingale.
Let $\rho$ be a cadlag martingale and $\xi$ be an adapted left-continuous and decreasing process with $0\le\xi\le1$. Then, $M=\int\xi d\rho$ is a martingale.
As stochastic integration with respect to a bounded predictable integrand preserves the local martingale property, $M$ must at least be a local martingale. Then, it is standard that a local martingale $M$ is a proper martingale if and only if the set
$$
\left\{M_{\tau\wedge t}\colon\tau{\rm\ is\ a\ stopping\ time}\right\}
$$
is uniformly integrable, for each fixed $t\in\mathbb{R}^+$. Processes satisfying this uniform integrability property are sometimes said to be of class (DL), which is a restriction of the class (D) property to finite time intervals $[0,t]$.
Let's show that $M$ is of class (DL). Without loss of generality, by subtracting $\rho_0$ from $\rho$ if necesary, we can assume that $\rho_0=0$. As $\rho$ is a martingale, it is of class (DL), so the set
$$
S=\left\{\rho_{\tau\wedge t}\colon\tau{\rm\ is\ a\ stopping\ time}\right\}
$$
is uniformly integrable, for fixed $t\in\mathbb{R}^+$. As $\xi$ is decreasing and left continuous, we can define random times $\tau_x=\inf\left\{t\in\mathbb{R}^+\colon\xi_t < x\right\}$ for $0\le x\le1$. These are stopping times, either by applying the debut theorem or using the fact that $\{\tau_x < s\}=\{\xi_s < x\}$ (strictly speaking, this requires right-continuity of the underlying filtration but, as the martingale property of adapted processes is unchanged by replacing the filtration by its right-continuous version, this is not important). For each positive integer $n$, the process
$$
\xi^{(n)}_s=\frac1n\sum_{k=1}^n1_{[0,\tau_{k/n}]}
$$
satisfies $\vert\xi^{(n)}-\xi\vert\le\frac1n$. So, for any stopping time $\tau$, bounded convergence gives the following limit in probability.
$$
M_{\tau\wedge t}=\lim_{n\to\infty}\int_0^{\tau\wedge t}\xi^{(n)}_sd\rho_s
=\lim_{n\to\infty}\frac1n\sum_{k=1}^n\rho_{\tau_{k/n}\wedge\tau\wedge t}.
$$
As $\tau_{k/n}\wedge\tau$ is a stopping time, this expresses $M_{\tau\wedge t}$ as a limit in probability of convex combinations of elements of $S$. As taking the convex hull and closure in probability of a set of random variables preserves the uniform integrability property, this means that the set of all $M_{\tau\wedge t}$ for stopping times $\tau$ is uniformly integrable. So, $M$ is of class (DL) and is a proper martingale.