PGDB gets endpoint from env.
PGDB checks all env variables.
Registering works, cached cookie session remembers it.