ensure settings are set and retrieved before storing password