updated packages to RC, refactored auth code to support new libs