Fixed usernameProof to support other deployments

It fixes:
```
Cannot read property 'migrated' of undefined
```
when `usernameProof` is not passed.