Some large fixes

Adding api interfaces for techniques and scenes, fixing some weirdness,
adding duplicate password fields to make sure password entry is
correct, etc