Updates signIn method on User for use with JS API.