Hmm, can you help provide the vales you have set for the following config.json settings?
In TeamSettings > EnableTeamCreation, EnableUserCreation
In EmailSettings > EnableSignUpWithEmail, EnableSignInWithEmail, EnableSignInWithUsername
I think there's some configuration issue that might be causing it