Fixed a bug where password would always be set on settings submit regardless of the tab that's currently being shown to the user