You are confusing color temperature with how the lights are installed. If your streetlights were 4000K and spaced properly you wouldn't have an issue with them. The penny-pinching distribution (high lumens, wide angle, distantly spaced) of lights chosen by your city is at fault. That layout will create maximum glare and is the most miserable layout imaginable since distant lights will always be shining directly in your eyes.