Build cookie factory

Please, do not tell Cookie Monster.
Rewrite login/logout process
Add 'operatorAuthenticate' event
Merge branch 'master' of github.com:Mibew/mibew