RST docs for before/after events
More reliable event deprecation (notice only if handlers registered)
Switch login to before/after events
Switch logout event to before/after