Original vikon_core used db-nica.ru for /oauth2/authorize, not auth.db-nica.ru. This was causing 'Client authentication failed' error.