Remove unused database close call
Add completed API authenticator tests