Add signals/events for login, logout and fail #4022
Release version 1.0.4