Initial version of openid handling. Taken from: http://blog.gatoatigrado.com/2012/11/dead-simple-openid-flask-starter-code.html
update app to work with OpenID