invalid ID request to user-page is 404 instead of 500
Merge pull request #2417 from dimagi/500to404

invalid ID request to user-page is 404 instead of 500