Minor changes to server config scripts to get auth and session management to behave the same with or without a proxy.