SERVER-10517: do not add command such as db\.auth() to shell history whe...

auth commands added to history when there are spaces after 'dot'
example:
db. auth(USERNAME, PASSWORD)