fix anonymous profile page server error
Merge pull request #2359 from Stanford-Online/giulio-profile-page-error-prod

fix anonymous profile page server error - Production Hotfix