Configure login and openid