Adds tests for UUID in profile API. Updates method for querying/inserting omniauth authentications.