Fix bug related to check_session when no login