Add missing permission checks.

Change-Id: I8728ccc7ae86afeb80e3b2a635460348a16f2cd6
Remove kg_user_password_done.

Change-Id: Id3889757a124986f9c7ddf011dbd172e11b80ff1
Fix issues with views.

Change-Id: I9c1d4ec7e304c8f3fd0c5fc31b4ea037c01a2eeb
Fix machine + people templates.

Change-Id: I06a15fc04bdd1ad958efeb31dcce140a699b432b