only save username and password to keychain if login success