Fix bug when logged in as guest, and show api key in settings, would return nothing. fixes #381