Here's the error I get when I click on logout:
Warning: preg_match() [function.preg-match]: Unknown modifier '.' in /home/public_html/wp-content/plugins/login-with-ajax/login-with-ajax.php on line 129
Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/wp-content/plugins/login-with-ajax/login-with-ajax.php:129) in /home/public_html/wp-includes/pluggable.php on line 865
Note: logout redirects to http://www.example.com/testpage