Massive refector for better handling of authentication. Includes breaking changes. README has been updated to reflect all changes. Instructions for fixing breaking changes upon upgrade will be added to the HISTORY document soon.