Update config.c

Fix bug in configGetCommand function: get correct masterauth value.
Allow SELECT while loading the DB.

Fixes issue #1024.
Merge remote-tracking branch 'antirez/2.6' into 2.6