ASP.NET Core Identity - RFC 6238 error on .NET Framework

This demonstrates a NullReferenceException in Microsoft.AspNetCore.Identity.Rfc6238AuthenticationService.ApplyModifier when running on .NET Framework.