closing an authorization yields an empty hash for the response and inadvertantly errors