Fixed logout NullPointer if PKI was used.
Fixed Spring version to Spring Security Version