Update auth.class.php

Corrected bad form of function declaration.  One should not have defaulted values, and then a required value.  This is an issue when trying to use this function within a XMWS extension class.