Fix warnings about setting API key
Fix ordering issues with signOut/CSRF
Clean up last marketplace storage/retrieval. Remove last used marketplace on manual logout
Fixes #628 - adds infinite loop detection to error handling route
Fixes #630 - limit length of appears on statement as
Merge pull request #631 from kleinsch/fix-auth-bugs

Fix auth bugs