[Security/Http] fix mock logger in test