What strategy to access the master backend

Hi everyone,
we want to setup the haproxy to help editors to access and edit the content of the master backend.

We intent to replicate the content between the slave backend afterwards.

My first idea was o setup a specific path with basic auth that will setup a cookie and redirect the user back to the content administration path.
To check if that specific cookie exist and to redirect to the master backend instead of the full backend.

Is it a viable strategy or did you use anything else ?

Best regards