[Security] [Doctrine] Added BaseUserProviderInterface

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #11157 
| License       | MIT
| Doc PR        | https://github.com/symfony/symfony-docs/issues/4543

You can now implement BaseUserProviderInterface without the need of implementing `supportsClass` function.
Souldn't the message of exception be changed as well ?