Take the db instance from Grails instead so we can handle replicasets

Removed the need to authenticate since 'db' is coming from Grails now.