[BUGFIX] Session cookie is not recreated on login