Fix bug viewing user detail view as non-superuser.