Wordpress-plugin-scalr-website is a project mainly written in PHP, it's free.
Plugin to deal with login and signup in Scalr public website