Introduced OAuth SPI. Package refactoring. Added more stuff to OAuth API.