backward compatibility for authentication