Session unit tests complete and Instance auth

Instance auth complete as well as session unit tests.  Closes #24,
closes #82