class PacsController < EmbeddedToolsController
  def exclude_syndicated_iframe_resizer?
    true
  end

  protected

  def category_id
    nil
  end
  helper_method :category_id
end

class PacsController < EmbeddedToolsController
  before_action :authenticate, if: :authentication_required?

  def exclude_syndicated_iframe_resizer?
    true
  end

  protected

  def authenticate
    authenticate_or_request_with_http_basic do |username, password|
      Authenticable.authenticate(username, password)
    end
  end

  def authentication_required?
    Authenticable.staging? || Rails.env.production?
  end

  def category_id
    nil
  end
  helper_method :category_id
end

Add a temporary authentication on pacs tool
Add a temporary authentication on pacs tool

Disclaimer: I don't think there should be an automated test for this since
it will be removed in a few days.
