title: H2O (0xData) data frame back to R data.frame
body: <p>If I start H2O using Jetty HashLoginService (i.e. <code>-hash_login -login_conf realm.properties</code>) in order to protect my H2O instance with password, I cannot convert H2O object into R object.</p>
  
  <p>For example in the following <code>as.data.frame</code> will not work, as if would work if I didn't use HashLoginService:</p>
  
  <pre><code>&gt; require(h2o)
  &gt; h2o.init(port     = 54324,  startH2O = F, 
             password = "pass", username = "uname")
   Connection successful!
  
  R is connected to the H2O cluster: 
      H2O cluster uptime:         5 days 15 hours 
      H2O cluster version:        3.9.1.3405 
      H2O cluster name:           uname 
      H2O cluster total nodes:    1 
      H2O cluster total memory:   22.19 GB 
      H2O cluster total cores:    8 
      H2O cluster allowed cores:  2 
      H2O cluster healthy:        TRUE 
      H2O Connection ip:          localhost 
      H2O Connection port:        54324 
      H2O Connection proxy:       NA 
      R Version:                  R version 3.1.1 (2014-07-10)
  
  &gt; packageVersion("h2o")
  [1] ‘3.9.1.3405’
  
  &gt; df  &lt;- data.frame(a = c(0.2, 0.3, 0.1, 0.5, 0.1, 0.2),
                      b = c(0.1, 0.1, 0.7, 0.3, 0.2, 0.9))
  
  &gt; h2o_df &lt;- as.h2o(df, "h2o_df")
    |==============================================================================| 100%
  
  &gt; head(h2o_df)
       a    b
  1  0.2  0.1
  2  0.3  0.1
  3  0.1  0.7
  4  0.5  0.3
  5  0.1  0.2
  6  0.2  0.9
  
  &gt; class(h2o_df)
  [1] "H2OFrame"
  
  &gt; as.data.frame(h2o_df)
                                                                  X.html.
  1                                                                &lt;head&gt;
  2  &lt;meta http-equiv=Content-Type content=text/html;charset=ISO-8859-1/&gt;
  3                                 &lt;title&gt;Error 401 Unauthorized&lt;/title&gt;
  4                                                               &lt;/head&gt;
  5                                                                &lt;body&gt;
  6                                              &lt;h2&gt;HTTP ERROR: 401&lt;/h2&gt;
  7                      &lt;p&gt;Problem accessing /3/DownloadDataset. Reason:
  8                                       &lt;pre&gt;    Unauthorized&lt;/pre&gt;&lt;/p&gt;
  9                       &lt;hr /&gt;&lt;i&gt;&lt;small&gt;Powered by Jetty://&lt;/small&gt;&lt;/i&gt;
  10                                                                     
  11                                                                     
  12                                                                     
  13                                                                     
  14                                                                     
  15                                                                     
  16                                                                     
  17                                                                     
  18                                                                     
  19                                                                     
  20                                                                     
  21                                                                     
  22                                                                     
  23                                                                     
  24                                                                     
  25                                                                     
  26                                                                     
  27                                                                     
  28                                                                     
  29                                                                     
  30                                                              &lt;/body&gt;
  31                                                              &lt;/html&gt;
  Warning message:
  In read.table(file = file, header = header, sep = sep, quote = quote,  :
    cols = 1 != length(data) = 11
  </code></pre>
  
  <p>Any idea how to resolve this problem?</p>
  
  <hr>
  
  <p><strong>UPDATE</strong></p>
  
  <p>This is a bug and you can track it here: <a href="https://0xdata.atlassian.net/browse/PUBDEV-2968" rel="nofollow">https://0xdata.atlassian.net/browse/PUBDEV-2968</a></p>