Added constructor for OAuthCredentials that allows for setting the userId. Handy for testing
Added private static final long serialVersionUID  to OauthCredentials, to be able to deserialize existing cached credentials.