Fix https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/451: Some cameras after firmware upgrade stick to their md5 hash of cloud password instead of generating a new sha256 resulting in failed authorization if trying with sha256. Change introduced automatically detects the hashing algorithm and applies it. If camera changes the hashing algorithm, it will automatically detect a new one.
Fix https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/451: Some cameras after firmware upgrade stick to their md5 hash of cloud password instead of generating a new sha256 resulting in failed authorization if trying with sha256. Change introduced automatically detects the hashing algorithm and applies it. If camera changes the hashing algorithm, it will automatically detect a new one.