Specific .htaccess question

I’m not sure how best to phrase this, or best place to post this, but I’ll try.

I have part of my site password protected using .htaccess. This works fine. I also have a custom 500 error page that works fine. My question is how to refresh the browser so that a user has a second chance to enter the password.

On my 500 page, I link to the login area, but it doesn’t show. The only way to try logging in again is to close browser and try again.

I feel like there is an easy solution, but I don’t even know the best way to search the forums google. I tried searching for 'clearing cache" “htaccess” and didn’t come up with anything.

So, in a nutshell, I want to use htaccess for pasword protection. If they enter the wrong password, I want the user to be able to re-try without closing the browser.

Any help would be greatly appreciated. I’m trying to learn all this as I go, but I’m a little stuck here.

Sorry if I posted in wrong area.