Cleanup for session handling after modifications
Temporary fix for POST data alignment.