[auth] [browserid] refactored auth so that provider initialization is in provider resource