fix for returning to custom search from new activity task
Merge pull request #1770 from agh1/record-activity-task-custom-search

CRM-13564 "Could not find a valid session key" after create activity in custom search