Fix social and Bluecode login