Use the instructions for installing drupal on apache (suexec,fcgi)
Then deploy an agent against this.
Put the agent in sso only mode.
Then try to access a form eg /drupal and login. The login will not work.
Login will work (as it will before agent protection/ without fcgi)