lae_automation/server.py: refactor to separate SSEC2 and infrastructure dependencies.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>