make login more rebust

 - mark sgis memership by group
 - disable old sgis members once they login again
 - save password so users can login if sGIS is down
 - prevent username collisions with sgis/non-sgis users