Fix target delegation for social login