WIP: fix auth.