fixes https://github.com/BenjaminRH/meteor-user-session/issues/1

This fixes the issue where UserSession methods can not be used in onLogin etc callbacks and publish functions.

https://github.com/BenjaminRH/meteor-user-session/issues/1

The fix, briefly, is to not call Meteor.userId() unless userId is undefined and Meteor.isClient is true.