Started work on OAuth2 implementation. I fucking hate OAuth.