Basic auth with an application which has login credential page

I'm using an application which has normal login credentials page. I would like to add an additional login layer in front of it. I added the basic Auth label, I get promoted but when I entered the basic Auth creds, it doesn't take me to the application to login.