The certificate error is of itself diagnostic of a portal rather than a proxy. The reason to use HTTP, is that some portal systems just drop TLS connections until authenticated. (Which is the correct behavior, rather than MITM.)
Opening the browser automatically is a big bug, that should be easy to fix.
Opening the browser automatically is a big bug, that should be easy to fix.