BUGFIX: JS error when login_required is enabled
fixes unit test broken (and commented out) after adding debounce behavior to a method