Fix oauth logic
Improve cache behavior