TokenRepository loaded twice per configuration

TokenRepository loaded twice per configuration