Changes to OauthCredential to improve control over serialization and testability.

To facilitate for testing we wanted to be able to set the userId directly.

We set 'serialVersionUID' to the value generated for the previous version of the class. If this change is not made along with the other changes, previously serialized objects cannot be deserialized after the changes are deployed.
In our case we have serialized objects in a session cache.