added the ability to login with username and password

Hi, I've added the ability to log in with a username and password as opposed to OAuth which not everyone wants to sign up for.

Thanks

Thomas Claridge