fix bug of db style change of auth.py