Changed set PIN pages to work with the new encryption system.
Include resolver patch. Improve realm setup workflow.