fixed resetting of admin/editor on auth