Authenticate should use `username` kwarg if no email is provided.

Fixes to pull request #45.