Redirect sanely on login