Port MicrosoftAccount middleware from Katana.

#41 

FYI: Microsoft Account has restrictions that make the samples difficult. See samples/SocialSample/Startup.cs