angshu, aarthy | minor code improvements. moved loading of providers to authentication.js listening to loadCredentials event