'Set up the listeners and reset the logged in/logged out counters'

def setUp(self):

    self.logged_in = []
    self.logged_out = []
    self.login_failed = []
    signals.user_logged_in.connect(self.listener_login)
    signals.user_logged_out.connect(self.listener_logout)
    signals.user_login_failed.connect(self.listener_login_failed)
