add security provider, basic authentication, content query with bug on serializing ContentItemRecord