Changed the way the credentials fields are handled

This PR fixes an issue with credentials being unable to be verified because of button state changes during key entry. Previously this had been attempted to be solved by waiting for the button invisible state and then the button visible state. New appliance versions seems to be incompatible with this change, and we now wait for the expected button state after each field entry.