Minor adjustments to authentication