[entity] fix fetching of Authors relation by revision repos
[config] use default php dir for session storage