Is this the right comparison? db.auth_user.id==db.auth_user_extended.id
In another post you have:
db.define_table('auth_user_extended',
Field('auth_user', db.auth_user),
Which means the relation is db.auth_user.id==db.auth_user_extended.auth_user

