You can stop "captive-login" with the following steps:
1. First delete `sudo rm /usr/bin/captive-login` or make backup.
2. Create a new captive login executable: `sudo nano /usr/bin/captive-login`
3. Write the following:
#!/bin/bash
exit 0
4. Permissions for the new `captive-login` executable: `chmod 777 /usr/bin/captive-login`
These steps work for me, I don't know if this bug is already solved.