add auth capabilities to browser shim of request module