Improved cookie and session management. Fully deprecated legacy sign-on for signature.