UserAuthenticator autoloading issue

Hello,

On my Discourse instance when using the api to create a user sometimes I get the error along the lines of:
Undefined class UserAuthenticator::Users::OmniauthCallbacksController

I don’t quite get why it doesn’t find Users::OmniauthCallbacksController and instead looks for it under the UserAuthenticator namespace.