[fix] Remove the `auth` property, directly read it off the url instead.
[fix] Added an auth parser in to the primus js file for browsers.