Corrected usage of signed cookie for authentication to allow persistence of login.