Add a require_authentication helper