When a user visits my website there is a \"Login\" link on every page. Clicking this uses some JavaScript to show an overlay window where the user is prompted for their cred
This worked for me.
window.location = window.location.pathname;
Tested on