That line is likely your problem. Change processes to 1 (and maybe increase threads to 20 or more).
With multiple processes, you have multiple instances of the pgAdmin server running. Each will have its own connection pool and CSRF tokens etc. so when a session starts on one process and then later makes a request that hits the second process, things will go kaboom.