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

Same changes as in SecurityAssertionStore in ddf-security. (https://github.com/codice/ddf-security/pull/17)