Core/Authserver: Fixed writing to invalid memory address