Enable download of user credentials.

Closes #529.