Core: Add loginFirst param to OnLogin hook to allow doing things on first login only

whitespacefix