Avoid authenticating twice on same DB.