User login with API

I would love for a way to have users login using the API without having to use filters for each user, it really requires a lot of upkeep on too many ends.