fix bug that disabled redis connections on start
move auth into its own pkg
move conf functions into conf pkg
improve redis locking and putbacks