Fixed NPE when login from a Google TV