Revert "New oauth2 auth"

This reverts commit bc2937dca9a0ec4e1c17271cad0fa9eaa64c72a3.