Added two additional ConfigureAwait() calls.

The call missing on line 534 was causing a deadlock when run in an ASP.NET MVC4 Web API project.  Added to 586 for completeness' sake.