Fix database name for single sign on