Persist auth code to SharedPreferences