Adding flask login and openid.