def login_from_cookie
      account = cookies[:auth_token] && Account.find_by_remember_token(cookies[:auth_token])
      if account && account.remember_token?
        account.remember_me
        cookies[:auth_token] = { :value => account.remember_token, :expires => account.remember_token_expires_at }
        self.auth_type_used = :cookie if not account.nil?
        self.current_account = account
        account
      end
    end
def login_from_cookie
      account = cookies[:auth_token] && Account.find_by_remember_token(cookies[:auth_token])
      if account && account.remember_token?
        account.remember_me
        cookies[:auth_token] = { :value => account.remember_token, :expires => account.remember_token_expires_at }
        self.auth_type_used = :cookie if not account.nil?
        self.current_account = account
        account
      end
    end
Called from #current_account.  Finaly, attempt to login by an expiring token in the cookie.