404 on attempt to list notebooks in nonexistant directory

[This is against multidir]

Also some test simplification - a unified `assert_http_error` context manager.