Cookies now work and I can authenticate with PBW.