Add setting of master password, for unit tests and automation