GrantResourceOwnerCredentials changed to handle user name and user email.