Prefs are trimed + Fix creasy loop when failing to auth