Clone the existing web part/control and modify the new copy. You have last IP in the membership module to compare to, add a cookie so it is computer agnostic and you are set to go. I have my code that logs out the user if the challenge and cookie don't match.
This way is best for future upgrades.