add error control for openid on registration. fix #729
update error message to login one
Merge pull request #764 from fabrixxm/bug729

Fix bug #729