add support for LOGIN

this makes logging into gmail work.

There aren't any tests because I'm the worst programmer ever.

Works for me, use it if you want it :)