AuthFilter implementation. Add user and group parameter to queries.