It is known that for even $k$, $\omega$ a primitive $k$th root of unity, the Gauss sum
$$\frac{1}{\sqrt{k}} \sum_{a = 0}^{k-1} \omega^{a^2/2}$$
is an 8th root of unity, related to the signature of an associated quadratic form.
I am interested in the following sum, for odd $k$,
$$\frac{1}{\sqrt{k}} \sum_{a = 0}^{k-1} \omega^{(a-1/2)^2/2}$$
which also appears to be an 8th root of unity. However, I haven't seen this sum in the literature. Do you know how to evaluate it, or if it's known?
Thanks!