Use XAuth, fix carshes on iPad with iOS6, fix bug on login failure