Fix regressions in account page offline mode
!23 (merged) introduced two regressions in the account page:
- each time the language is changed, a callback referring to freed memory is leaked
- on systems where realmd is not present (such as Endless), the “Go online to set up Enterprise Login.” label is always shown, regardless of network state
Here are two small patches to fix these two bugs. It'd be good to get these into 3.31.92 on Monday.