Yeah, I did like four versions trying to keep the head turns and thumbs up, but none of them really worked without him eventually spilling the beans. In all the versions BB-8 knows the location of the base, but he refuses to give it to Rey or Finn.
Password: fanedit
I suppose there might be room to keep the head turning when Rey says ‘I’ll drop you two at Ponema Terminal’, showing that BB-8 is torn on his decision, but ultimately it should go against every bit of his programming to give the location to someone who just lied to him about his identity as a Resistance fighter.
Your point about Han’s reticence is well taken, and I think that is part of why he doesn’t want to go there directly. But it seems extreme for him to endanger the galaxy just because he doesn’t want to face Leia.
Something that just occurred to me - if Han hadn’t suddenly appeared, Finn and Rey would have flown BB-8 to the Resistance without incident, Rey wouldn’t have been captured, Finn would have told the Resistance about the Starkiller before it destroyed the Hosnian system which would certainly have allowed for the Senate and fleet to be evacuated, the fleet could have bolstered the Resistance forces in taking out the Starkiller, and Han himself wouldn’t have died.