Automatically adds a logout button to your password protected content.
messageis not of type "undefined"
Added conditional logic to the filter to only add the button inside of the loop.
Original Release: uses
wp_enqueue_scripts and ajax to logout password protected posts by setting the cookie to expire immediately.