Http authentication

I’m trying to make an http request with my web app but I see unauthorized response. If I use curl in command line I see a response: curl http://api_key:KEY@MyGrafana:3000/api/org. My problem is that when I try to access grafana using the same url in the browser I’m getting unauthorized. Any idea why is happening this?