Let $p\equiv1\bmod 4$ be a prime number and $h$ the class number of real quadratic field $\mathbb Q(\sqrt{p})$, $\epsilon=\frac{t+u\sqrt{p}}{2}$ its fundamental unit. In this paper https://www.pnas.org/doi/abs/10.1073/pnas.47.6.878(Proc. Nat. Acad. Sci. U.S.A. 47 (1961), 878.) Chowla proves the following result $$h\equiv1\bmod 4\Longleftrightarrow\left(\frac{p-1}{2}\right)!\equiv-\frac{t}{2}\bmod p$$ or $$\left(\frac{p-1}{2}\right)!\equiv(-1)^{\frac{h+1}{2}}\cdot\frac{t}{2}\bmod p.$$
In the proof, his first show that $$\sqrt{p}\cdot\epsilon^{h}=\prod\limits_{\left(\frac{n}{p}\right)=-1}(1-\zeta^n)$$ where the product is over all the quadratic non-residue modulo $p$. This identity can be deduced by Dirichlet's class number formula. Let $\zeta=e^{\frac{2\pi i}{p}}$ be the $p$-th primitive root of unit. We know that $$p\mathbb Z[\zeta]=(1-\zeta)^{p-1},\quad \mathbb Z/p\mathbb Z\cong \mathbb Z[\zeta]/(1-\zeta).$$ Then Chowla Claim that in the ring $\mathbb Z[\zeta]$, $$\prod\limits_{\left(\frac{n}{p}\right)=-1}(1-\zeta^n)\equiv \left(\prod\limits_{\left(\frac{n}{p}\right)=-1}n\right)(1-\zeta)^{\frac{p-1}{2}}\equiv(1-\zeta)^{\frac{p-1}{2}}\bmod (1-\zeta)^{\frac{p+1}{2}}$$ and $$\left(\frac{p-1}{2}\right)!(1-\zeta)^{\frac{p-1}{2}}\equiv\epsilon^{-h}\cdot(1-\zeta)^{\frac{p-1}{2}}\bmod(1-\zeta)^{\frac{p+1}{2}}.$$ From this, he can deduce his theorem. I kown how to prove the first congruence identity. In fact we have that $$\frac{1-\zeta^k}{1-\zeta}=1+\zeta+\zeta^2+\cdots+\zeta^{k-1}\equiv k\bmod (1-\zeta)\Longrightarrow 1-\zeta^k\equiv k(1-\zeta)\bmod (1-\zeta)^2.$$ My Question: How to prove the second congruence identity, I mean how to prove $$\sqrt{p}\equiv\left(\frac{p-1}{2}\right)!\cdot(1-\zeta)^{\frac{p-1}{2}}\bmod(1-\zeta)^{\frac{p+1}{2}}.$$