Fixed bug in oplog_auth.
Added None-check for cursor in oplog.
Merge pull request #21 from drdk/bugfix_oplog_manager

Fixed oplog manager reconnect code for then the primary switches node.