Prevent transition to signup on invalid invitation

Refs #3876
- Prevent signup page from flashing when an invalid invitation
  token is used.
- Clear sensitive information from signup controller.
- Make isInvitation API behavior consistent with other auth
  related APIs.
Merge pull request #4065 from jaswilli/transition

Prevent transition to signup on invalid invitation