fixes https://github.com/thinktecture/Thinktecture.IdentityServer.v3/issues/252