500 error code for auth api endpoints - Better Auth