tests: onLoggedIn & onLoggedOut tests added

Added simple `User::onLoggedIn()` and `User::onLoggedOut()` events triggering test.