Allow to specify mail and password on user create. Fixes #381

This pull request closes #381.