integrating Joe's changes
fixing oauth profile email test