This is wrong. In the previous example, the first level of ``entity`` key is the name of the provider while the second level is the config for the ``EntityUserProvider``.
The config you added here would throw an exception.