fixes bug 941358 - 403 when logging in while having a second tab open, r=AdrianGaudebert