Login errors were not always showing up

This fix makes sure changes to the scope are noticed by angular in the
setImmidiate context for login errors.