Adds fixes for authentication cookie.
Adds fixes for authentication cookie.

WitheredGryphon/SlavehackLegacy,WitheredGryphon/SlavehackLegacy,WitheredGryphon/SlavehackLegacy,WitheredGryphon/SlavehackLegacy