Flush Auth and DB connection.

Signed-off-by: crynobone <crynobone@gmail.com>