Add status invited-pending for users

no issue
- added status invited-pending for invited users where sending the
invitation email failed
- removed console.log() from authentication.js