Remove a bit of unnecessary code from tests.
Changing the password generation method, as suggested [here](http://www.reddit.com/r/flask/comments/29nblh/af_anything_wrong_or_that_can_be_better_in_this/cimw72x).