Added auto_login, db_auth and auth_code.