I had a very similar problem, but seem to have solved it ✅
On my Macbook Pro 2014, OS X Mavericks 10.9.4, I would lose wifi every time I logged in. The wifi icon would appear connected at first, and in Network Preferences my wifi service showed a green light. But I would have no network connection - no LAN drives, no internet, nothing external. Then my wifi service would go amber, saying No IP Address. I would have to reconfigure the wifi by deleting the wifi service, rebooting, logging in, then setting up a new service.
This happened every time I logged in, and therefore every time I booted the machine up. Not satisfactory, of course.
I booted in safe mode and logged in, and the problem didn't occur. Wifi was working and all expected services resumed. I then restarted and logged in on my daughter's profile and, again, everything worked fine. Rebooted again, logged in as me again and... no wifi again. I've only had the Macbook a few weeks, and it only got like this after about 10 days, just after I got back from holiday. As it only happened on my profile on full / normal startup mode, I guessed it must've been something I'd installed...
I downloaded the free app CleanMyMac and played with the Extensions, disabling anything that wasn't essential. I would deactivate one at a time and restart and log back in again as me. If it didm't work, I'd have to go through the laborious reconfiguration process every time, which got a bit tedious. But finally, using the process of elimination, I narrowed it down to the QuickLook extensions, iWorks QuickLook Generator and iBooks QuickLook Generator. After disabling these two extensions (at the same time, I was getting a little impatient), I rebooted, logged in as me and, what do you know, the wifi works again after logging in as me every time! I then reactivated all the others I'd deactivated, and restarted a few more times, and the problem's gone. Phew!
(If I had to guess, I'd say it was the iBooks extension, because that file had a created date of around the time I got back from holiday and when I first noticed the problem. But I've had enough of playing around for now, and rebooting, so I'm going to leave them both switched off until I realise I need one of them!)
It's extension conflicts, boys and girls. That's what did it to me.