Issue 3092: double login on firefox restart required
Status:  New
Owner: ----
Reported by icee...@googlemail.com, Jan 8, 2015
Affected Version: 2.8.3  and current master configured with LDAP-login

What steps will reproduce the problem?
1. Start a fresh firefox (this is essential)
2. go to login: GET %23%2Fq%2Fstatus%3Aopen -> 401 Unauthorized
2. login (no remember login set)
 POST %23%2Fq%2Fstatus%3Aopen 302 Found
Set-Cookie	GerritAccount=aSceprsIOlszDQFStXVHchIUA5ta6pc3xq;Path=/

3. notice that you are not logged in
http://resi2.office.frm2:8088/#/q/status:open
GET / HTTP/1.1
Host: resi2.office.frm2:8088
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0 FirePHP/0.4
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-us;q=0.8,de-de;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
x-insight-client: 1
x-request-id: 1420724561636390
Referer: http://localhost:8088/login/%23%2Fq%2Fstatus%3Aopen
Connection: keep-alive

Note that here the Cookie is not sent back.

4. login again
http://resi2.office.frm2:8088/login/%23%2Fq%2Fstatus%3Aopen?HTTP/1.1 302 Found
Set-Cookie: GerritAccount=aSceprtkIL67RPVWP84C3BoEn3nmVPqK0a;Path=/

5. now you are logged in
http://resi2.office.frm2:8088/#/q/status:open
GET / HTTP/1.1
Host: resi2.office.frm2:8088
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0 FirePHP/0.4
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-us;q=0.8,de-de;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://resi2.office.frm2:8088/login/%23%2Fq%2Fstatus%3Aopen
Cookie: GerritAccount=aSceprtkIL67RPVWP84C3BoEn3nmVPqK0a
x-insight-client: 1
x-request-id: 142072469870666
Connection: keep-alive

Note that here the cookie is sent back.