- nosec for SHA512_password in the login payload (B105): it is a flag telling the gateway how Input_Passwd is encoded, not a password; a false positive. - A failed login raises ConnectionException from the underlying error, so the cause stays attached. - tests: pytest.raises instead of try / assert False / except, which python -O would have turned into tests that always pass.