Migrate user related code from network.js to user.js.

Network.js should only be taking care of network interactions, not keeping track of userid's and things.
Remove network.checkAuth, preferring user.checkAuthentication
Move jwcrypto seeding from network.js to user.js