Update mechanism API so we can check for ERROR status
Update gssapi mechanism
Merge pull request #1012 from hurtonm/master

Update mechanism API so we can check for ERROR status