code: function handleAuthenticateRequestSuccess(response) {
      if (response.userCtx.name) {
        return resolveWith(response.userCtx.name);
      }
  
      account.trigger('unauthenticated');
  
      return reject();
    }
docs: handle a successful authentication request.  As long as there is no server error or internet connection issue, the authenticate request (GET /_session) does always return a 200 status. To differentiate whether the user is signed in or not, we check `userCtx.name` in the response. If the user is not signed in, it's null, otherwise the name the user signed in with  If the user is not signed in, we diferentiate between users that signed in with a username / password or anonymously. For anonymous users, the password is stored in local store, so we don't need to trigger an 'unauthenticated' error, but instead try to sign in.