Working OpenId implementation, including basic security features