fix issue 38
Merge pull request #41 from ywang19/FIX_ISSUE_38

fix issue 38, ceph has different return status code returned if successful login, should check status code to range 200-299.