fix authenticationInterceptor + tests
remove some warnings