This is a very common basenji issue! They get comfortable and don't want to be bothered. My brindle dog only does it when he's still delirious from sleep and "snaps out of it" when he realizes what's going on. Teaching a dog "OFF!" is very important! Do it when they are happy and awake and then move to sleepy and grumpy. On the couch, say OFF! and treat them when they get it right. It becomes a game. Both of my dogs know what "OFF!" means and listen to it. One of them will continue to grumble until he's fully awake and then he's back to his happy self.
I agree with Pat and the treats for crate time. When I leave for work I say "Who wants a treat?" and off they run to their kennels! I break out the good stuff for going to work time. At night I say night-night and in they go. This didn't happen overnight! It took my red boy months to like his crate. Lots of sleepless nights with a screaming puppy. I actually had to buy him a new one because I discovered he was scared of the all enclosed plastic crates. Now his perfect in his crate and goes in on his own to relax.