fix SecurityHeaderTest due to text formatting issue
Merge pull request #2227 from NuGet/danliu/testfixes

fix SecurityHeaderTest due to text formatting issue