Fix auth to use `get_user_document` #527