Switched hash to json for auth_hash.