login and logout are generic for every browser interface (or most of them) so it is defined on BrowserContext here: 
[ezsystems/ezpublish-community#125](https://github.com/ezsystems/ezpublish-community/pull/125/files#diff-acf796fe6ce946af669aeb1ded87b067R55)