Improved Auth functions
Now can use (some of) OAuth 2.0 out the box.
Redirect while keeping the Authorization header intact.