Moved RHEndpointsAdapter to RHOAuthUtils

Made all functions and variables class level.
Note, still can’t sign in to localhost. :)