@Test
public void test_unauthorized_if_no_type() throws Exception {

    when(context.header("authorization")).thenReturn("session_id");
    Payload payload = apiKeyFilter.apply("url", context, nextFilter);
    assertThat(payload.code()).isEqualTo(401);
}