Every login method has its own data and its own failure modes. The password branch reads req.body, the token branch reads the Authorization header, and the Google branch calls out to a third party. They share nothing but a signature.
Keeping them in one function means every change to one method risks the others, and the function keeps growing. There is no way to test one method without the branches around it, and no way to add a method without editing code that already works.