'This clicks on the reset attempts link with an optionally
specified user.'

def reset_attempts(self, user=None):

    if user:
        self.q(css='input[id^=sd_fu_]').first.fill(user)
    self.q(css='.staff-modal    .staff-debug-reset').click()
