Updated the metadata code that all types are using, and also the characteristics code that hypervisors are using. Also, changed how login failure is handled to pass up the error instead of crashing the server.