Got rid of the user_session service class and corresponding tests because the functionality of it was sparse. Instead, I added a to_hash method to GithubAuth.