fixed issue with parameters not being in the proper order for the Autenticate class