Issue 7011: Cookie module activation is broken

https://code.google.com/p/fbug/issues/detail?id=7011