Improving logging a bit in the STS
[CXF-5817] - Adding unit test