Fix for bug 911994

Making sure that the correct user login is recorded in logs and response messages