Fix build on Go 1.2

When using Go 1.2.2 I was receiving this error:

```
user/key.go:43: invalid operation: ! error
```

Fixed comparing the error against `nil`.