Hello Dinorah.
For clarity purpose, I think you should have created a different class extending Authenticator instead of adding the method authenticate with intercept.
They implement different interfaces and also, when creating OkHttpClient, you call different methods:
builder.addInterceptor(...)
builder.authenticator(...)
You can, of course, make NetworkInterceptor extend also from Authenticator.
Besides that, great post :)