authentication working - need to sort out mongo connection pooling now.
Fix mongo connection handling - idiot.