Fix auth.access.length causing error when auth.access is undefined

Also changed author