Im totally stuck here trying to implement a basic auth solution, due to the fact my application is firing these \'login\' events way too many times.
I have created a