Insecure=invite problem

when I set insecure=invite in the general section of sip.conf, all incoming invites from my sip user agents need not be authorized.

But I am still getting

SIP/2.0 401 Unauthorized

My SIP user agent is registered successfully. Why is asterisk still asking the user agent to reauthorize?

I am using trunk 48074. Is this a bug?