Şahsen ben, bir kez giriş bilgi girerken sunucu kimlik doğrulaması için kullanıcı istekleri hiç bu bilgileri kaydedilmiş daha sonra kullanmak bir tercih dosyasında depolamak için kullanıcı olsun - sizin NSURLConnection kullanarak o zaman gibi bir şey kullanabilirsiniz eğer:
-(void)connection:(NSURLConnection *)connection
didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge{
if ([challenge previousFailureCount] == 0) {
    NSURLCredential *newCredential;
    newCredential=[NSURLCredential credentialWithUser:[UserManager getUsername]
                                             password:[UserManager getPassword]
                                          persistence:NSURLCredentialPersistenceNone];
    [[challenge sender] useCredential:newCredential
           forAuthenticationChallenge:challenge];
} else {
    [[challenge sender] cancelAuthenticationChallenge:challenge];
    // inform the user that the user name and password
    // in the preferences are incorrect
}
}
burada [UserManager getUsername] ve [UserManager getPassword] tercih dosyaya gelen kullanıcı adı ve şifre yük olacak bir sınıfta sınıf yöntemleri