Patches for check_oracle with dummy login [sf#650970] [#196]