Login fix for lost session