Fix user assignement on login action.