adding logging to basic auth

refs #6441