Home dashboard not loading

I changed the home dashboard preference from default to some other through api call. In mozilla when i try to access http://admin:admin@localhost:3000 its opening the dashboard which i set as home dashboard but when i am doing same thing in chrome its showing blank screen giving this error in console -->

DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://localhost:3000/dashboard/db/maya-home?panelId=null&fullscreen=null&edit=null&editview=null&orgId=1' cannot be created in a document with origin 'http://localhost:3000' and URL 'http://admin:admin@localhost:3000/'

However when I open the page again without putting credentials ie. http://localhost:3000/ It works fine. I.e once the session is created then visiting the actual url redirects to correct page.
Is this bug or do I need to change something from my end.