fix null ref exception
fix typo in view
Merge branch 'dev' of https://github.com/thinktecture/Thinktecture.IdentityServer.v3.Samples into dev