Have you changed all the code to also use username. And standard Auth is looking for one or the other, not both. You may need to override the query by extending a class and have in the query email and username returned.
Just study the current code. But of course don't modify anything in the vendor folder.