fix isAuthenticated method in BoxClient