updated all functions to release auth sessions correctly
updated all functions to release auth sessions correctly

Distrotech/trousers,emilcondrea/trousers,Distrotech/trousers,emilcondrea/trousers,emilcondrea/trousers,Distrotech/trousers