Fixed bug where Credentials not raising correct event