Fix some requires/includes

Test Plan:
- None
Add some KA specific OAuth handling stuff

Test Plan:
- None
Add ability to login, start KA API library for v1 apis.

Test Plan:
- Perform a login and make sure it works.
- Do another independent authentication required call for the logged in
  user, make sure it works.