This PR also fixes config migration only for credentials and region which are valid and set. Also fix implicit `state="on"` behavior