Fix references for SQL login