BACKLOG-1033 Moved extracting user id from response and hashing it from consent to factory to keep model clean
BACKLOG-1033 Moved queries from consent model to separate repository to prepare for caching