Factor out user record creation into separate function and use email address for credential generation.
Factor out user record creation into separate function and use email address for credential generation.

dragonfax/riak_cs,yangchengjian/riak_cs,dragonfax/riak_cs,sdebnath/riak_cs,laurenrother/riak_cs,laurenrother/riak_cs,laurenrother/riak_cs,dragonfax/riak_cs,basho/riak_cs_report,GabrielNicolasAvellaneda/riak_cs,GabrielNicolasAvellaneda/riak_cs,sdebnath/riak_cs,GabrielNicolasAvellaneda/riak_cs,yangchengjian/riak_cs,basho/riak_cs,yangchengjian/riak_cs,dragonfax/riak_cs,basho/riak_cs_lfs,yangchengjian/riak_cs,basho/riak_cs,laurenrother/riak_cs,basho/riak_cs,sdebnath/riak_cs,GabrielNicolasAvellaneda/riak_cs,sdebnath/riak_cs,basho/riak_cs