Added null check to healthvault constructor to allow trivial instances.