Bugfix: private key loaded from file did not get registered with underlying crypto class, just the GUI.