This code returns a current user:
Moralis.initialize('CODE HERE');
Moralis.serverURL = 'SERVER URL HERE';
let currentUser = Moralis.User.current();
console.log('CurrentUser', currentUser)
Performing a GET to a Cloud Function shortly after produces:
{code: 142, error: 'Validation failed. Please login to continue.'}
Why is not the GET function validating the current Moralis user?