Streamlined header redirecting
Rewrote OAuth for the sake of simplicity, added authentication on multiple API resources.