merge from trunk: use POST for login requests.
https://projects.ecoinformatics.org/ecoinfo/issues/6124