New token cache model

This is just a refactoring I made to make the test usable in both .NET and WinRT code. I expect only one token in the cache at this point and I pass only one AuthenticationResult to compare.