Fix bug where password would be cleared on widget start