Fix ROYALAUTH hash + Fix imports' packages names to match new xAuth version

All is in the title. Tried to respect coding style.