Cannot log into wpmu dev dashboard to retrieve API key

After entering username an password I get the following error:

Your server had a problem connecting to WPMU DEV. Please try again.
If this problem continues, please contact your host and ask:
"Is php on my server properly configured to be able to contact with a GET HTTP request via fsockopen or CURL?"

all the required php methods are activated and seem to be working because after the error is returned the url shows that the api key was retrieved and the actual failure is setting it. here is the url in the browser after error message.


I have tried to set it manually in the wp-config.php

I have also tried to add it manually to database.

When I manually ad the api key, I manage to get past the login screen but I'm still locked out of the dashboard and I'm seeing what looks like a generic account.