fix module name and type signature for getAuthIdHashDB and postLoginR

I haven't test this yet, but I was going to in a while.