better handling for redirection logic when we have the password overlay on all pages
destroy the overlay on 'passwordcomplete' event so the user can interact with the page