Added users' table refresh call on failed backend auth and in gw_change_user()

Added users' table refresh call on failed backend auth and in
gw_change_user()