Port MicrosoftAccount middleware from Katana.

#41 

FYI: Microsoft Account has restrictions that make the samples difficult. See samples/SocialSample/Startup.cs
The biggest reason MSA would change this address is if they also changed the contract (like Google just did). I think users would be better off switching to a nightly build with the fix than trying to workaround it here.