Update otp_auth.c

auth function structure