fix bug in bower json, add auth complete events