gallery->admin->general->cookies
PATH /
DOMAIN .begimot.ru
don't you read instructions?
Once you change the cookie settings, all registered users of your Gallery will have to clear their browser cookie cache. If they do not, they will experience login / logout / lost session problems.