Added support for custom scope and getting the openid profile