JSON version of auth() works now.