login: Set content-type, index: add 404