Handle missing $1 in _autoenv_hash_pair
Fix _autoenv_deauthorize with regard to newline handling, add tests