Display 404 for unknown user in settings page

Closes #3459