Forwarding to not found page an 404 from the api