Speed up tests that require user login

The md5 password hasher is considerably faster compared to the default one. Since login security isn't concern while unit testing, then it's a no-brainer.