Bug fix in pzp_sessionhandling

Jira issue: WP-749