Login to panel issue

Maybe related to this issue? Bug or not on session_destroy?