Fix a long-standing bug which caused Synapse to require unspecified parameters during user-interactive authentication.