Add (proper) credentials validation to Export

Probably not going to show up to the user in any friendly way, but one
thing at a time.