This diff introduces using of the metadata to provide the sessionID by the client for the client authentication in the gRPC MessagesStream bidirectional stream.
We are making the following security checks with the sessionID:
- Check if the sessionID is provided in metadata;
- Check the sessionID format validity;
- Check if the sessionID exists in the database session table.
Linear task: ENG-1359
Why bind mount a temp directory instead of using a data volume? It's just gonna create issues with permissions. Also ${TMPDIR} is not used to refer to a path in both the host and the container which is a bad idea.