Added support for registering new machines
Fixed a bug where entering credentials only worked if changing focus, and also added a way to see visible feedback if credentials were fine