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

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