return 404 when profile not configured
add a test for 404 unknown profile on the headers view

use the same error format for lookup that what was used for headers
add the api doc for the 404 in lookup
Merge branch 'unknown-profile-404'