security: implement DefaultSecurityApi#logout()

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>