bugfix for autologin on newer android versions