Removed unused use UsernameNotFoundException

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.4, 2.5, master
| Fixed tickets | -