Add call to user() before firing auth.logout event. Fixes #1814