Changed session based login behavior