redis client opens and closes, rather than having one open all the time.
Merging feature/basic_auth again.
Merging development into master.