Fix restfull mode when controller has no password.