fix(lint): resolve E616, E320, E010 across ocaml-block, ocaml-atp, cookeio, linkedin
Replace Alcotest.fail (Fmt.str ...) with Alcotest.failf (E616) in
ocaml-block tests, hoist nested functions (E320), reduce nesting depth
(E010), and accept spaces in cookie values to match browser behavior.