issue#30: try reauthentication using locally stored apikey on login

 fixes #30