identifying consumer

I am trying to identify consumer application in ActiveSOA using Http basic authentication header. So what i did is:

  1. Created “Consumer Application” named “Test” with Identification Token as “TestConsumer”.
  2. Created a Run-time policy named “ConsumerIdentification” with actions “Require HTTP Basic Authentication” and “Identify Consumer” in the same order. For “Identify Consumer”, Identify User setting is set to “Token Derived from HTTP Header”.
  3. In the Consumer profile of Virtual Service, I have set “Test”.

When I make a call to the Virtual Service, the consumer is not getting identified even after giving “TestConsumer” as the Username for basic Authentication. Please let me know if i am doing it wrongly.