From http://buddypress.org/support/topic/wordpress-login-and-registration-page/