Fixing broken SDK Auth API