fixed bug: notifications sent before automatic captiveportal login