I had similar problems in setting up a second system. When I was doing the original 'bin/omero web settings' I put in the wrong OMERO.web administrator user name and password. So I stopped the server and ice and then re-ran 'bin/omero web settings' and entered the user/pwd that I really wanted. It seemed to correctly recognize that the initial configuration had been done before since it prompted me if I wanted to overwrite. It all ran fine. Then after I started the server back up and ice my new credentials didn't work for the web client or Insight. I did get the warning during the settings config:
...
Please enter password for OMERO.web administrator:
Please re-enter password for OMERO.web administrator:
<string>:36: DeprecationWarning: the sha module is deprecated; use the hashlib module insteadSaved to /Users/johnhufnagle/omero/omero_dist/lib/python/omeroweb/initial_data.json
...
I had to resort to the fix that Josh provided above by whacking the password in the db. So now I get in fine
Wondering what I might have goofed up.
Thanks Josh.
John