DDF-950: fixed cast exception in SecurityLogger when a signature header is present